package org.csu.logistics.Service;

import org.csu.logistics.common.CommonResponse;
import org.csu.logistics.entity.Order;
import org.csu.logistics.vo.OrderOV;

import java.util.List;

public interface OrderOVService {

    OrderOV insert_OrderOV(OrderOV orderOV);

    void delete_OrderOVByOrderNum(int orderNum);

    void update_OrderOVByOrderNum(OrderOV orderOV);

    OrderOV select_OrderOVByOrderNum(int OrderNum);

    CommonResponse<List<OrderOV>> select_OrderOVList(int userId);

    CommonResponse<List<OrderOV>> select_OrderOVListByUserId(int userId);

    CommonResponse<List<OrderOV>> select_OrderOVListByOrderStatus(String orderStatus);

}
